package com.jsmtr.rms.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Base_User")
public class BaseUser {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = false, length = 10)
    private String ucode; // ucode

    @Column(nullable = false, length = 10)
    private String uname; // uname

    @Column(nullable = false, length = 50)
    private String udept; // udept

    @Column(nullable = false, length = 50)
    private String udeptname; // udept

    @Column(nullable = false, length = 11)
    private String utel; // utel

    @Column(nullable = false, length = 100)
    private String upwd; // upwd

    @Column(nullable = false)
    private Integer ustate; // ustate

    @Column(nullable = false)
    private Date addtime; // addtime

    @Column(nullable = false, length = 50)
    private String adduid; // adduid

    @Column(nullable = false, length = 10)
    private String adduname; // adduname

    @Column(nullable = false)
    private Date edittime; // edittime

    @Column(nullable = false, length = 50)
    private String edituid; // edituid

    @Column(nullable = false, length = 10)
    private String edituname; // edituname

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUcode() {
        return ucode;
    }

    public void setUcode(String ucode) {
        this.ucode = ucode;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUdept() {
        return udept;
    }

    public void setUdept(String udept) {
        this.udept = udept;
    }

    public String getUdeptname() {
        return udeptname;
    }

    public void setUdeptname(String udeptname) {
        this.udeptname = udeptname;
    }

    public String getUtel() {
        return utel;
    }

    public void setUtel(String utel) {
        this.utel = utel;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public Integer getUstate() {
        return ustate;
    }

    public void setUstate(Integer ustate) {
        this.ustate = ustate;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getAdduid() {
        return adduid;
    }

    public void setAdduid(String adduid) {
        this.adduid = adduid;
    }

    public String getAdduname() {
        return adduname;
    }

    public void setAdduname(String adduname) {
        this.adduname = adduname;
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public String getEdituid() {
        return edituid;
    }

    public void setEdituid(String edituid) {
        this.edituid = edituid;
    }

    public String getEdituname() {
        return edituname;
    }

    public void setEdituname(String edituname) {
        this.edituname = edituname;
    }


}